package com.example.service;


import com.example.dao.UserDAO;
import com.example.model.Usermodel;

public class Userservice {

	private UserDAO ud=new UserDAO();

	public boolean login(Usermodel um){
		return ud.login(um)>0?true:false;
	}

	public void Register(Usermodel um){
		ud.Register(um);
	}


	public void reloadpwd(Usermodel um) {
		ud.reloadpwd(um);
	}


}
